package com.own.demo.lwf.common.lamda;/**
 * @author liwenfeng
 * @date 2022/8/12 0012
 * @apinote
 */

import java.util.ArrayList;
import java.util.List;

/**
 * @version v1.0
 * @Description:
 * @Author Administrator
 * @Date 2022/8/12 0012 21:16
 * @copyright 李文峰
 */
public class LamdaDemo {
    public static void main(String[] args) {
        List list = new ArrayList();
        list.add(1);
        list.add(2);
        list.add(3);
        list.forEach(s-> System.out.println(s));
        list.forEach(System.out::println);
    }

}
